package com.dubbo.consumer.accessoryController;

import com.alibaba.dubbo.config.annotation.Reference;
import com.dubbo.CarBalance.AccountCarerService;
import com.dubbo.accessory.AccessorySellerService;
import com.dubbo.common.dtos.ResponseResult;
import com.dubbo.model.accessory.dtos.AccessorySellerDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("accessory")
public class AccessoryController {

    @Reference(check = false)
    private AccessorySellerService service;

    @GetMapping("AccessorySeller")
    public ResponseResult getAccessorySeller() {
        return service.getAccessorySeller();
    }

}
